<?php
/**
 * Parameters
 * @param	array				$work_items
 * @param	RunTimtWorkflowNode	$current_work_item
 */
  use_helper('Date');
  use_javascript('workflow_inbox.js');
  if(!isset($current_work_item)) $current_work_item = null;
?>
<?php slot('heading', 'Nachrichten')?>
		<div class="x5 wf_inbox_message_list" >
			<?php include_partial('workflow/inbox_message_list', array('work_items' => $work_items));?>
		</div>
		
		<div class="x7">
			<h2 class="box">Nachricht<img alt="Werkzeugbox" src="<?php echo image_path('icons/content_werkzeugbox.png')?>" /></h2>
			<?php include_partial('workflow/inbox_message_view', array('current_work_item' => $current_work_item))?>
		</div>